<script setup>
import {defineProps} from 'vue'
const props = defineProps(["desc","title","imgurl"])
</script>
<template>
<div class="movie">
    <img :src="props.imgurl" alt="">
    <div>标题：{{ props.title }}</div>
    <div>介绍：{{ props.desc }}</div>
</div>

</template>
<style scoped>
.movie{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 70%;
    margin: auto;
    height: 400px;
    flex-direction: column;
}
.movie img{
    width: 100%;
    height: 70%;
}
.movie div{
    width: 100%;
    height: 10%;
} 
</style>